<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/temp.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Searching</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.STYLE11 {
	font-size: 18px;
	font-weight: bold;
}
-->
</style>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
.ListStyle {font-family: Arial, Helvetica, sans-serif}
.STYLE4 {font-size: 10px}
.STYLE7 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.forLink {font-size: 24px }
.STYLE10 {font-family: Arial, Helvetica, sans-serif; font-size: 24px; }
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:active {text-decoration: none;}
a:hover {text-decoration: none;}
-->

</style>
</head>

<body  style="background-image:url(../../images/websitebackgrund.png);">
<table width="802" border="0" align="center">
<tr><td colspan="4"><a href="../User/userlogin.php" class="STYLE7"><img src="../../images/logo.jpg" alt="Home Page"  border="0" /></a> 
  
    </td>
</tr>

  <tr>
  <td width="175" ><div align="center"><a href="../User/userlogin.php" class="STYLE10">User Login</a> </div></td>
    <td width="305"><div align="center"><a href="superUserLogin.php" class="STYLE10">Super User Login</a> </div></td>
    <td width="232"><div align="center"><a href="../Manager/managerLogin.php" class="STYLE10">Manager Login</a> </div></td>
    <td width="291"><div align="center"><a href="../Admin/adminLogin.php" class="STYLE10">Adminster Login</a> </div></td>
  </tr>  <tr>
    <td >&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<!-- InstanceBeginEditable name="EditRegion" -->
<table width="400" border="0" cellspacing="0" align="center">
  <tr>
    <td><h2 class="STYLE3">Please input information for search.<br />
      (Click on <a href="ShowAllUser.php">Here</a> for show all users!)</h2>
      <form id="form3" name="form3" method="post" action="showSearching.php">
        <table width="400" border="0" cellspacing="0">
          <tr>
            <td><h2><strong>Searching: </strong></h2></td>
            <td><select name="searchselect">
                <option value="0" selected="selected">Please chose</option>
                <option value="1">Police ID</option>
                <option value="2" >Officer Name</option>
                <option value="3" >Archive ID</option>
                <option value="4">Current Position</option>
                <option value="5" >Gender</option>
                <option value="6" >Rank</option>
            </select></td>
            <td><input name="search" type="text" size="40" /></td>
            <td><input type="submit" name="Submit3" value="Searching" /></td>
          </tr>
        </table>
      </form>
    <p class="STYLE3"></p></td>
  </tr>
  <tr>
    <td><table width="635" height="115" border="0" cellspacing="0">
      <tr>
        <td width="633" height="85"><form id="form1" name="form1" method="post" action="../../ucm/UCSuper/UCSuperSearchUser.php">
            <table width="618" height="183" border="0" cellspacing="0">
              <tr>
                <td height="21" colspan="10"><h2><strong>Retrieval:</strong></h2>                  </td>
              </tr>
              <tr>
                <td width="190" height="21"><span class="STYLE11">Officer Name</span></td>
                <td colspan="7"><input name="namepost" type="text" size="40" /></td>
                <td width="10">&nbsp;</td>
                <td width="80">&nbsp;</td>
              </tr>
              <tr>
                <td width="190" height="21"><span class="STYLE11">Current Position </span></td>
                <td colspan="7"><input name="positionpost" type="text" size="40" /></td>
                <td>&nbsp;</td>
                <td width="80">&nbsp;</td>
              </tr>
              <tr>
                <td width="190" height="21"><span class="STYLE11">Rank</span></td>
                <td colspan="7"><input name="rankpost" type="text" size="40" /></td>
                <td>&nbsp;</td>
                <td width="80">&nbsp;</td>
              </tr>
              <tr>
                <td width="190" height="21"><span class="STYLE11">Gender</span></td>
                <td colspan="7"><select name="genderpost">
                    <option value="0" selected="selected">Please chose</option>
                    <option value="1">Male</option>
                    <option value="2" >Female</option>
                </select></td>
                <td>&nbsp;</td>
                <td width="80">&nbsp;</td>
              </tr>
              <tr>
                <td width="190" height="21"><span class="STYLE11">PoliticalBackground</span></td>
                <td colspan="7"><input name="politicalpost" type="text" size="40" /></td>
                <td>&nbsp;</td>
                <td width="80">&nbsp;</td>
              </tr>
              <tr>
                <td height="23"><strong>
                  <select name="datapost">
                    <option value="0" selected="selected">Please chose</option>
                    <option value="1">DOB</option>
                    <option value="2" >Police Work date</option>
                    <option value="3" >PartyDate</option>
                    <option value="4" >WorkDate</option>
                  </select>
                </strong></td>
                <td width="42"><input name="yearpost" type="text" size="6" value="year" /></td>
                <td width="42"><input name="monthpost" type="text" value="month" size="6" /></td>
                <td width="42"><input name="daypost" type="text" size="6" value="day" /></td>
                <td width="25"><div align="center">-</div></td>
                <td width="42"><input name="year2post" type="text" size="6" value="year" /></td>
                <td width="42"><input name="month2post" type="text" size="6" value="month" /></td>
                <td width="83"><input name="day2post" type="text" size="6" value="day" /></td>
                <td>&nbsp;</td>
                <td><input type="submit" name="Submit" value="Searching" /></td>
              </tr>
            </table>
        </form></td>
      </tr>
      <tr>
        <td></td>
      </tr>
      <tr>
        <td><form id="form2" name="form2" method="post" action="superUserLogin.php">
            <div align="right">
              <input type="submit" name="Submit2" value="Cancel" />
            </div>
        </form></td>
      </tr>
    </table></td>
  </tr>
</table>
<h2 class="STYLE3">&nbsp;</h2>
<h2 class="STYLE3">&nbsp;</h2>
<?PHP
if ($_GET[id]== 1){
      echo "<script language='javascript'>"; 
      echo "alert('Please enter Retrieval values!');"; 
      echo "</script>";
}else if ($_GET[id]== 2){
      echo "<script language='javascript'>"; 
      echo "alert('please enter date!');"; 
      echo "</script>";
}else if ($_GET[id]== 3){
      echo "<script language='javascript'>"; 
      echo "alert('year 1800-2200');"; 
      echo "</script>";
}else if ($_GET[id]== 4){
      echo "<script language='javascript'>"; 
      echo "alert('wrong month !');"; 
      echo "</script>";
}else if ($_GET[id]== 5){
      echo "<script language='javascript'>"; 
      echo "alert('wrong day !');"; 
      echo "</script>";
}else if ($_GET[id]== 6){
      echo "<script language='javascript'>"; 
      echo "alert('wrong month2 !');"; 
      echo "</script>";
}else if ($_GET[id]== 7){
      echo "<script language='javascript'>"; 
      echo "alert('wrong day2 !');"; 
      echo "</script>";
}else if ($_GET[id]== 8){
      echo "<script language='javascript'>"; 
      echo "alert('unknow error !');"; 
      echo "</script>";
}
 ?>
<p>&nbsp;</p>
<!-- InstanceEndEditable --> 
<div class="ListStyle STYLE4" style="background:#51A2B9">Copyright 2010_CP3047_G24   | E-mail:<a href="mailto:xiaoguang.bian@gmail.com">xiaoguang.bian@gmail.com</a> | Address: BJUT,chaoyangqu 100,Beijing. 10022
</div>
</body>
<!-- InstanceEnd --></html>
